package com.zscat.mallplus.oms.vo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @program: mallplus
 * @description:
 * @author: loop.fu
 * @create: 2020-02-27 13:42
 */
@Data
public class OrderListItemInfo {

    private Long orderId;

    private String orderNo;

    private Long productId;

    private Long productSkuId;

    private Integer productQuantity;

    private String image;

    private String title;

    private String skuAttr;

    private BigDecimal price;

    private String sp1;

    private String sp2;

    private String sp3;
    /**
     * 售后：-1过了售后期 0正常，可售后    1退换货中2换货成功3退款成功4申请拒绝
     */
    private Integer aftersalesStatus;

    public String getSkuAttr() {
        String str = "";
        if (sp1 != null) {
            str = str + sp1 + "";
        }
        if (sp2 != null) {
            str = str + sp2 + "";
        }
        if (sp3 != null) {
            str = str + sp3 + "";
        }
        return str;

    }

}
